#ifndef RECTANGLE
#define RECTANGLE

#include "region.h"

class Rectangle : public Region
{
public:
	Rectangle();
	Rectangle(double wid, double hgt = 1.0);
	
	//Dimensions
	double width;
	double height;

	//Geometry functions
	double getWidth();
	double getHeight();

	bool pointInside(double *position, double error = 0.01);
};

#endif